import pytest
from page.mail_list_manager.org_page.orp_page import OrgPage


@pytest.fixture()
def get_org_page(get_driver):
    # 实例化部门管理页面对象
    obj = OrgPage(get_driver)
    yield obj
    obj.my_back_index()